//
// Created by 32827 on 2024/2/17.
//

#ifndef YZGD32_YZF_TRNG_H
#define YZGD32_YZF_TRNG_H
#include "yzf.h"

YZF_RESULT yzf_trng_enable();
YZF_RESULT yzf_trng_disable();
YZF_RESULT yzf_trng_ie_enable();
YZF_RESULT yzf_trng_ie_disable();
YZF_BOOL yzf_trng_flag_seed_error();
YZF_BOOL yzf_trng_flag_clock_error();
YZF_BOOL yzf_trng_flag_next_ready();
uint32_t yzf_trng_read();
#endif //YZGD32_YZF_TRNG_H
